package uit.shoeshop.action;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import org.apache.struts2.interceptor.ServletRequestAware;
import org.apache.struts2.interceptor.ServletResponseAware;

import com.opensymphony.xwork2.ActionSupport;
public class HeaderAction extends ActionSupport implements ServletRequestAware,ServletResponseAware{
	private static final long serialVersionUID = 1L;
	private HttpServletRequest request;
	private HttpServletResponse response;
	
	private String titles;
	private String search_query;
	@Override
	public void setServletRequest(HttpServletRequest request) {
		this.request = request;
	}

	@Override
	public void setServletResponse(HttpServletResponse response) {
		this.response = response;
	}
	
    public String execute() throws Exception {

        return SUCCESS;
    }

	public void setTitles(String titles) {
		this.titles = titles;
	}

	public String getTitles() {
		return titles;
	}

	public void setSearch_query(String search_query) {
		this.search_query = search_query;
	}

	public String getSearch_query() {
		return search_query;
	}	
}
